package tech.heptagram.staff.service.impl;

import org.springframework.stereotype.Service;

import javax.annotation.Resource;

import tech.heptagram.staff.mapper.BpmsProcessMapper;
import tech.heptagram.staff.model.BpmsProcess;
import tech.heptagram.staff.service.BpmsProcessService;

/**
 * @author wang.yuchuan
 * @createdAt 2019/3/22
 */
@Service
public class BpmsProcessServiceImpl implements BpmsProcessService {

    @Resource
    private BpmsProcessMapper bpmsProcessMapper;

    @Override
    public BpmsProcess findById(Integer id) {
        return bpmsProcessMapper.selectByPrimaryKey(id);
    }
}
